<!DOCTYPE html >
<html>
<head>
  <meta charset="UTF-8">
  <title>下载页</title>
  <!--<meta name="Keywords" content="{$keywords}" />
  <meta name="Description" content="{$description}" />-->
<!--  <meta name="viewport" content="width=device-width, heignt=device-height, initial-scale=1.0, maximum-scale=1.0, minimum-scale=0.5, user-scalable=0, user-scalable=yes"/>
-->
<!--<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
--><!--<link rel="shortcut icon" href="favicon.ico" />-->
<link rel="stylesheet" href="css/public.css" >
<link rel="stylesheet" type="text/css" href="css/login.css"/>
  <script type="text/javascript" src="js/jquery.js"></script>



<!--<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
-->
<meta name="viewport" content="width=640, user-scalable=no, target-densitydpi=device-dpi">

  </head>

<body>
    <!--<header class="header_03">
      <div class="nl-login-title">
        <div class="h-left">
          <a class="sb-back" href="javascript:history.back(-1)" title="返回"></a>
        </div>
        <span style="text-align:center">金仕商1城</span>
      </div>
    </header>-->
<div>
				<img id="zhizhao" src="images/zhizhao.png" style="position: absolute; z-index: 20; width: 100%; height: 1192px; display: none;"/>

	<img src="images/download_page.png" style="width: 100%; height: 100%;"/>
      <a style="color: #666;">
        <div style="position: absolute; top: 650px; z-index: 10; width: 100%; height: 80px;" onclick="go_url()"></div>
      </a>
      <a style="color: #666;">
        <div style="position: absolute; top: 750px; z-index: 10; width: 100%; height: 80px;" onclick="go_ios_url()"></div>
      </a>


</div>
<!--<div style="position: absolute">
			<img id="zhizhao" src="../themesmobile/mobile/images/zhizhao.png" style="position: absolute; z-index: 20; width: 100%; height: 100%;"/>
			
</div>-->
<!--<script type="text/javascript">
   var phoneWidth = parseInt(window.screen.width);
   var phoneScale = phoneWidth/640;
   var ua = navigator.userAgent;
   if (/Android (\d+\.\d+)/.test(ua)){
     var version = parseFloat(RegExp.$1);
     if(version>2.3){
       document.write('<meta name="viewport" content="width=640, minimum-scale = '+phoneScale+', maximum-scale = '+phoneScale+', target-densitydpi=device-dpi">');
     }else{
       document.write('<meta name="viewport" content="width=640, target-densitydpi=device-dpi">');
     }
   } else {
     document.write('<meta name="viewport" content="width=640, user-scalable=no, target-densitydpi=device-dpi">');
   }
 </script>-->
<script>
	
	function go_url(){
		
	window.open('app/fengkuang1.0.4.apk');
	}
		function go_ios_url(){
	window.open('itms-services:///?action=download-manifest&url=https://git.oschina.net/fkzb/fengkuang/raw/35a55138492d673cb325f284fb7ace9a067c71e5/MDDtext.plist');
	}

	
</script>
<script type="text/javascript"> 
window.onload = function(){
if(isWeiXin()){ 
	$('#zhizhao').show();
} 
} 
function isWeiXin(){ 
var ua = window.navigator.userAgent.toLowerCase(); 
if(ua.match(/MicroMessenger/i) == 'micromessenger'){ 
return true; 
}else{ 
return false; 
} 
}
	var browser={
		versions:function(){
			var u = navigator.userAgent, app = navigator.appVersion;
			return {
				trident: u.indexOf('Trident') > -1, //IE内核
				presto: u.indexOf('Presto') > -1, //opera内核
				webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
				gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
				mobile: !!u.match(/AppleWebKit.*Mobile.*/)||!!u.match(/AppleWebKit/), //是否为移动终端
				ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
				android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
				iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //是否为iPhone或者QQHD浏览器
				iPad: u.indexOf('iPad') > -1, //是否iPad
				symbian: u.indexOf('Symbian') > -1, //是否Symbian
				webApp: u.indexOf('Safari') == -1 //是否web应该程序，没有头部与底部
			};
		}()
	};
		if(browser.versions.ios){
		
				window.location.href='itms-services:///?action=download-manifest&url=https://git.oschina.net/fkzb/fengkuang/raw/35a55138492d673cb325f284fb7ace9a067c71e5/MDDtext.plist';
	}
//		if(browser.versions.android){
//		
//		alert("安卓系统！！");
//	}

	

</script> 
  <!--<div class="ng-form-zhu" style="text-align: center;font-size:16px;">

    <div class="tips_a"><img src="../themesmobile/mobile/images/download_page.jpg"></div>
    <div class="tips">{$message.content}</div>
    {if $message.url_info}
    <div class="tips">
      {foreach from=$message.url_info key=info item=url}
      <a href="{$url}" style="color: #666;">
        <span class="tishi">{$info}</span>
      </a>
      {/foreach}
    </div>
    {/if}
  </div>-->

</body>

</html>